﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="city_s_count.aspx.cs" Inherits="admin_func_ctiy_s_count" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Panel ID="Panel2" runat="server">
        <asp:GridView ID="GridView1" runat="server" AllowSorting="True" 
            AutoGenerateColumns="False">
            <Columns>
                <asp:TemplateField HeaderText="CityName">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl='<%# Eval("url") %>' 
                            Text='<%# Eval("title") %>'></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="文章數量">
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("count") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="照片數量" SortExpression="True">
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("piccount") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="intro數量" SortExpression="True">
                    <ItemTemplate>
                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("introcount") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </asp:Panel>
</asp:Content>

